﻿
using System.Web.Mvc;

namespace XHD.WXZJ.Web.Areas.Mpa
{
    public class MpaAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get { return "Mpa"; }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                name: this.AreaName + "_Default",
                url: this.AreaName + "/{controller}/{action}/{id}",
                defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                namespaces: new[] { "XHD.WXZJ.Mpa.Web.Controllers" }
               );
        }
    }
}